from common.utils import blogDriver
from unitTest import loginTest
from unitTest import listTest
from unitTest import detailTest
from unitTest import editTest

def login_list():
    login = loginTest.login()
    login.login_test01()

    list = listTest.list()
    list.list_test01()

    login.login_test02()
    list.list_test02()

def login_detail():
    login = loginTest.login()
    login.login_test01()

    detail = detailTest.detail()
    detail.detail_test01()

def login_edit():
    login = loginTest.login()
    login.login_test01()

    edit = detailTest.detail()
    edit.detail_test01()

if __name__ == "__main__":
    # login_list()

    login_detail()

    login_edit()

    blogDriver.driver.quit()
